package com.summer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

//@SpringBootApplication//@SpringBootApplication(scanBasePackages = "com.yq")
@SpringBootApplication(scanBasePackages = {"com.summer.config","com.summer.controller","com.summer.interceptors","com.summer.utils"})
@MapperScan("com.summer.mapper")
//@ComponentScan(basePackages={"com.summer.config"})
public class SummerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SummerApplication.class, args);
    }

}
